package com.shiwaixiangcun.monitor.repository;

import com.rabbit.spring.data.repository.GenericJpaRepository;
import com.shiwaixiangcun.monitor.domain.User;
import com.shiwaixiangcun.monitor.domain.WorkOrderCategory;
import com.shiwaixiangcun.monitor.domain.WorkOrderTimeoutRule;

/**
 * Created by Administrator on 2017/11/23.
 */
public interface WorkOrderTimeoutRuleRepository extends GenericJpaRepository<WorkOrderTimeoutRule, Long> {


    WorkOrderTimeoutRule findByCategoryAndTimeAndUser(WorkOrderCategory category, Integer time, User user);
}
